<template>
  <div>
    <h1>路由跳转页面</h1>
    <!-- <h2>{{ num }}</h2> -->
  </div>
</template>

<script>
import { useRoute } from "vue-router";
import hookstime from "@/hooks/hook"
export default {
  setup() {
    let route = useRoute();
    console.log(route.query.id, route.query.name);
    hookstime()
  },
};
</script>
<style lang='less' scoped>
</style>
